/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package elaborate.h2x.transform.position;

import elaborate.h2x.transform.TransformingNodeId;

/**
 *
 * @author lendle
 */
public class PositionSlot {

    protected TransformingNodeId nodeId;
    protected TransformingNodeId prev;
    protected TransformingNodeId next;
    protected TransformingNodeId parent;

    /**
     * Get the value of parent
     *
     * @return the value of parent
     */
    public TransformingNodeId getParent() {
        return parent;
    }

    /**
     * Set the value of parent
     *
     * @param parent new value of parent
     */
    public void setParent(TransformingNodeId parent) {
        this.parent = parent;
    }


    /**
     * Get the value of next
     *
     * @return the value of next
     */
    public TransformingNodeId getNext() {
        return next;
    }

    /**
     * Set the value of next
     *
     * @param next new value of next
     */
    public void setNext(TransformingNodeId next) {
        this.next = next;
    }


    /**
     * Get the value of prev
     *
     * @return the value of prev
     */
    public TransformingNodeId getPrev() {
        return prev;
    }

    /**
     * Set the value of prev
     *
     * @param prev new value of prev
     */
    public void setPrev(TransformingNodeId prev) {
        this.prev = prev;
    }


    /**
     * Get the value of nodeId
     *
     * @return the value of nodeId
     */
    public TransformingNodeId getNodeId() {
        return nodeId;
    }

    /**
     * Set the value of nodeId
     *
     * @param nodeId new value of nodeId
     */
    public void setNodeId(TransformingNodeId nodeId) {
        this.nodeId = nodeId;
    }

    @Override
    public String toString() {
        return ""+nodeId;
    }
}
